﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TeacherInformationViewPage.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.TeacherInformationViewPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <div align="center">
   <fieldset style="width: 800px; height:600px;">
     
   <fieldset style="width: 600px; height:auto">
    <legend style="text-decoration: blink; color:Navy;"> View Teacher Information</legend>
    <table align="center">
    <tr>
    <td>
        <asp:Label ID="Label1" runat="server" ForeColor="#660066" Text="Search By"></asp:Label>
        </td>
    </tr>
    <tr>
    <td>
        <asp:RadioButton ID="departmentRadioButton" runat="server" 
            oncheckedchanged="departmentRadioButton_CheckedChanged" 
            AutoPostBack="True" />
        </td>
    <td>
        <asp:Label ID="Label2" runat="server" Text="Department"></asp:Label>
        </td>
    <td>
        <asp:DropDownList ID="departmentDropDownList" runat="server">
        </asp:DropDownList>
        </td>
    </tr>
    <tr>
    <td>
        <asp:RadioButton ID="allRadioButton" runat="server" 
            oncheckedchanged="allRadioButton_CheckedChanged" AutoPostBack="True" />
        </td>
    <td>
        <asp:Label ID="Label" runat="server" Text="All"></asp:Label>
        </td>
    <td></td>



    <tr>
    <td></td>
    <td></td>
    <td>
        <asp:Button ID="searchButton" runat="server" onclick="searchButton_Click" 
            Text="Search" />
        </td>
        </tr>
        <tr>
        <td></td>
        <td></td>
        <td></td>
        <td>
            <asp:LinkButton ID="teacherLinkButton" runat="server" 
                onclick="teacherLinkButton_Click">Teacher Personal Information</asp:LinkButton>
            </td>
        </tr>

    </table>
       <asp:GridView ID="teacherInformationGridView" runat="server" 
           AutoGenerateColumns="False" BackColor="White" BorderColor="#E7E7FF" 
           BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal">
           <AlternatingRowStyle BackColor="#F7F7F7" />
           <Columns>
               <asp:BoundField DataField="Name" HeaderText="Teacher Name" 
                   SortExpression="Name" />
               <asp:BoundField DataField="Email" HeaderText="Email Address" 
                   SortExpression="Email" />
               <asp:BoundField DataField="ContactNo" HeaderText="Contact No" 
                   SortExpression="ContactNo" />
               <asp:BoundField DataField="Address" HeaderText="Address" 
                   SortExpression="Address" />
           </Columns>
           <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
           <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
           <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
           <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
           <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
           <SortedAscendingCellStyle BackColor="#F4F4FD" />
           <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
           <SortedDescendingCellStyle BackColor="#D8D8F0" />
           <SortedDescendingHeaderStyle BackColor="#3E3277" />
       </asp:GridView>
  </fieldset>
  

   </fieldset>
   </div>



</asp:Content>
